package com.itbaizhan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//测试全局性异常  与GlobalException.java一起测试

@Controller
public class ControllerToException2 {
    @RequestMapping("/t2")
    public String t2(){
        int[] arr = new int[2];
        arr[3]=5;
        return "index";
    }
}
